package com.bjc2.facade;

/**
 * @program: DesignPattern
 * @description: 电灯类
 * @author: bjc
 * @create: 2022-04-05 21:11
 */
public class Light {

    //开灯
    public void on(){
        System.out.println("打开电灯...");
    }

    //关灯
    public void off(){
        System.out.println("关闭电灯...");
    }
}
